package Multithreading.Thread.ChaosBegins;

public class MultithreadingSimple {
    public static void main(String[] args) {
        DataHolder dataHolder = new DataHolder();
        Thread increaseThread = new Thread(new ChangeData(2,1000000,dataHolder));
        Thread decreaseThread = new Thread(new ChangeData(-2,1000000,dataHolder));
        increaseThread.start();
        decreaseThread.start();
    }
}
